<div class="person full">
	<h2><?=$person->name?></h2>
	<div class="metadata">
		<div class="bd"><span class="label">Born</span><?=$person->birth_date()?></div>
		<div class="dd"><span class="label">Died</span><?=$person->death_date()?></div>
	</div>
	<h3>Referred to by:</h3>
	<!-- <ul class="variations">
		<?php foreach($person->variants->find_all() as $v): ?>
			<li class="">
				<span class="catalog <?=$v->catalog?>"><?=Helper_Codex::catalog_title($v->catalog)?></span> <span class="in">as</span> <?=$v->name?>
				<a href="<?=$v->link()?>"><?=$v->link_text()?></a>
			</li>
		<?php endforeach; ?>
	</ul> -->
	<ul class="variations">
		<?php foreach($variants as $cat_title=>$cat): ?>
			<?php foreach($cat as $v): ?>
			<li class="<?=$cat_title?>">
				<span class="catalog <?=$v->catalog?>"><?=Helper_Codex::catalog_title($v->catalog)?></span> <span class="in">as</span> <?=$v->name?>
				<a href="<?=$v->link()?>"><?=$v->link_text()?></a>
			</li>
			<?php endforeach; ?>
		<?php endforeach; ?>
	</ul>
	<?php if(count($links)): ?>
		<h3>More Information:</h3>
		<ul class="links">
			<?php foreach($links as $l):?>
				<li>
					<h4><?=$l['title']?></h4>
					<a href="<?=$l['link']?>"><?=$l['link']?></a>
				</li>
			<?php endforeach; ?>
		</ul>
	<?php endif;?>
	<div id="rdf">
		<a href="/person/<?=$person->musicnetid?>.rdf" title="Get RDF"><img border="0" src="http://www.w3.org/RDF/icons/rdf_w3c_button.32" alt="RDF Resource Description Framework Icon"/></a><br/>
		<a href="/person/<?=$person->musicnetid?>.rdf" title="Get RDF">Get this information as RDF</a>
	</div>
</div>